/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rbh.risk.dao;

import com.rbh.risk.entity.Opduser;
import com.rbh.risk.entity.Profile;
import java.util.List;
import org.springframework.dao.DataAccessException;

/**
 *
 * @author M
 */
public interface ProfileDao {
    
    public void insert(Profile profile) throws DataAccessException;
    
    public void update(Profile profile) throws DataAccessException;
    
    public void delete(Profile profile) throws DataAccessException;
    
    public Profile getById(String profileId) throws DataAccessException;
    
    public List<Profile> getAll() throws DataAccessException;
    
    public Profile insertAutomatic(Profile profile) throws DataAccessException;
    
    public Profile getByOpduser(Opduser opduser) throws DataAccessException;
}